<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
 
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <title>Pagina di Login</title>
    </head>
    <body>
     <%	String message = "";
     	if(request.getAttribute("us")!=null){
         message = (String)request.getAttribute("us");
     	}
     %>
    <h1><font color="BLUE"><%= message %></font></h1> 
    <h1>Login</h1>
    <html:form action="login">
         <bean:message key="label.username" />
         <html:text property="userName"></html:text>
         <html:errors property="userName" />
         <br/>
         <bean:message key="label.password" />
         <html:password property="password"></html:password>
         <html:errors property="password"/>
         <html:submit/>
         <html:reset/>
    </html:form>
    <a href="registrazione.jsp">Registrati!</a>
    
    </body>
</html>
